<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<jsp:include page="frame/header.jsp"></jsp:include>

<title>修改密码</title>
</head>

<body>


	<div class="container-fluid">
		<div id="market" class="row-fluid">
			<div>
				<ul class="breadcrumb">
					<li><a href="#">系统管理</a> <span class="divider">/</span></li>
					<li><a href="#">修改密码</a></li>
				</ul>
			</div>

			<div class="box">
				<div class="box-header well" data-original-title>
					<h2>
						<i class="icon-th"></i> 修改管理员密码
					</h2>

					<div class="box-icon">
						<a href="#" class="btn btn-setting btn-round"><i
							class="icon-cog"></i></a> <a href="#"
							class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
						<a href="#" class="btn btn-close btn-round"><i
							class="icon-remove"></i></a>
					</div>
				</div>
				<div class="box-content">
					<form id="myform" class="form-horizontal" method="post" action="<c:url value="/admin/changePass" />">
						<fieldset>
							
							<div class="control-group">
								<label class="control-label" for="password">原密码</label>
								<div class="controls">
									<input class="input-xlarge" id="adminPass" name="adminPass" type="password" check-type="required" required-message="请输入密码">
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="password">新密码</label>
								<div class="controls">
									<input class="input-xlarge" id="adminNewPass" name="adminNewPass" type="password" check-type="required" required-message="请输入新密码">
								</div>
							</div>
							
							<div class="form-actions">
								<button id="saveBtn" type="button" class="btn btn-primary">提交</button>
							</div>
						</fieldset>
					</form>
					
				</div>
			</div>
		</div>
		<!--/fluid-row-->

	</div>
	<!--/.fluid-container-->

	<jsp:include page="frame/scripts.jsp"></jsp:include>
	<script type="text/javascript">
		

		$(document).ready(function() {

			$("#myform").validation();
			
			//保存
			$('#saveBtn').click(function(){
				$("#myform").submit();
				
			})
		})

		
	</script>
</body>
</html>
